<?php

namespace Application\Services;


use BlogServices\TagServiceIf;

class TagService extends BaseService implements TagServiceIf
{
    /**
     * 定义服务名称
     * @return string
     */
    public function setServiceName()
    {
        return "TagService";
    }


    /**
     * @return \BlogServices\Tag[]
     */
    public function GetAllTags()
    {
        return $this->service->GetAllTags();
    }

    /**
     * @param int $articleid
     * @return \BlogServices\Tag[]
     */
    public function GetTagsByArticleId($articleid)
    {
        return $this->service->GetTagsByArticleId($articleid);
    }
}